
export const download = (url, name) => {
  const link = document.createElement('a');
  link.download = name || "x.png"
  link.href = url
  link.click()
}